<!--main content start-->
<script src="js/workflow/CCBX/projCCBXSPView.js"></script>
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        出差报销申请 （出差报销申请提交后，即发送给相关联项目负责人进行审批，根据具体报销金额大小区分是否需要高层领导审批）
                    </header>
                    <div class="panel-body">

                        <div class="bio-row">
                            <p><span>出差报销总金额</span>￥{{trEntity.totalAmount}}元</p>
                        </div>
                        <div class="bio-row">
                            <p><span>项目名称</span>{{trEntity.tempProjName}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>申请日期</span>{{trEntity.createTime | date:'yyyy-MM-dd hh:mm' }}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>冲销数目</span>{{trEntity.chargeAgainest}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>借款编码</span>{{trEntity.borrowCode}}</p>
                        </div>
                    </div>
                </section>
                <section class="panel">
                    <header class="panel-heading add-heading">
                        报销费用明细
                        <!--<i class="add-icon icon-plus" ng-click="addItem()"> 新增</i>-->
                    </header>
                    <div class="panel-body">
                        <div id="afrContainer1" class="dlshouwen-grid-container"></div>
                        <div id="afrToolBarContainer1" class="dlshouwen-grid-toolbar-container"></div>
                    </div>
                </section>
                <section class="panel">
                    <div class="panel-body">
                        <p class="default-buttons">
                            <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                            <a href="javascript:void(0);" class="button-next  btn btn-success" ng-click="ccbxLeaderApproval()">同意</a>
                        </p>
                    </div>
                </section>
                <!-- Modal -->
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <section class="panel">
                                <div class="panel-heading add-heading">
                                    报销费用项目占比信息
                                    <i class="add-icon icon-remove" data-dismiss="modal" aria-hidden="true"></i>
                                </div>
                                <div class="panel-body selpro-box">
                                    <table class="table table-bordered">
                                        <tbody>
                                        <tr>
                                            <td>报销分公司</td>
                                            <td>
                                                <span>{{trItem.trCompanyName}}</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>报销类目</td>
                                            <td>
                                                <span>{{trItem.triClassName}}</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>发票金额</td>
                                            <td>
                                                <span>￥{{trItem.money}}元</span>
                                            </td>
                                        </tr>
                                        <tr ng-repeat="bb in nowprojectPercents">
                                            <td>{{bb.projName}}</td>
                                            <td>
                                                <div class="sh-btn">
                                                    <span>￥{{bb.money}}</span>
                                                    <button class="sedit-label btn btn-xs btn-danger" ng-click="delPercent(bb.projId);">
                                                        <i class="fa fa-trash-o"></i> 删除</button>
                                                    <button class="sedit-label btn btn-xs btn-info" ng-click="editPercent(bb.projId);">
                                                        <i class="fa fa-edit"></i> 修改</button>
                                                </div>
                                                <div class="hd-btn" style="display: none;">
                                                    <input type="text" onkeyup="clearNoNum(this)"  onblur="clearNoNum(this)" value="" class="form-control" min="0" max="100">
                                                    <button class="sedit-label btn btn-xs btn-info" onclick="closePro(1);">
                                                        <i class="icon-share-alt"></i> 取消</button>
                                                    <button class="sedit-label btn btn-xs btn-success" onclick="closePro(1);">
                                                        <i class="icon-refresh"></i> 确认</button>
                                                </div>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="panel-bg"></div>
                            </section>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal-dialog -->
                </div>
                <!-- Modal -->
                <div class="modal fade" id="yourModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <section class="panel">
                                <div class="panel-heading add-heading">
                                    报销费用项目占比信息
                                    <i class="add-icon icon-rem0ove" data-dismiss="modal" aria-hidden="true"></i>
                                </div>
                                <div class="panel-body selpro-box">
                                    <table class="table table-bordered">
                                        <tbody>
                                        <tr ng-repeat="xx in dafts">
                                            <td>
                                                <span><a ng-click="openDraf(xx.trCode)">{{xx.createTime | date:'yyyy-MM-dd hh:mm'}}</a></span>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="panel-bg"></div>
                            </section>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal-dialog -->
                </div>
                <!-- /.modal -->
            </div>
        </div>
    </section>
</section>

